package com.syh.jn.scm.dto.supplier.finance.archive;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * Created by soci.song on 2019/3/4.
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ArchiveSto implements Serializable {

    /**
     * 数据归属公司ID
     */
    @NotNull(message = "数据归属公司不能为空")
    protected Long businessEntityId;
    /**
     * 结存开始日期
     */
    @NotNull(message = "结存开始日期不能为空")
    private Long archiveFromTimeStamp;
    /**
     * 结存结束日期
     */
    @NotNull(message = "结存结束日期不能为空")
    private Long archiveEndTimeStamp;
    /**
     * 结存标题
     */
    @NotNull(message = "结存标题不能为空")
    private String title;
    /**
     * 结存备注
     */
    private String remark;
    /**
     * 操作人员id
     */
    @NotNull(message = "操作人员不能为空")
    private Long operatorId;

}
